<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: mets::termination_criteria_chain类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classmets_1_1termination__criteria__chain.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classmets_1_1termination__criteria__chain-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">mets::termination_criteria_chain类 参考<div class="ingroups"><a class="el" href="group__common.html">Common components</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Function object expressing a termination criteria  
 <a href="classmets_1_1termination__criteria__chain.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="termination-criteria_8hh_source.html">termination-criteria.hh</a>&gt;</code></p>
<div class="dynheader">
类 mets::termination_criteria_chain 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classmets_1_1termination__criteria__chain.png" usemap="#mets::termination_5Fcriteria_5Fchain_map" alt=""/>
  <map id="mets::termination_5Fcriteria_5Fchain_map" name="mets::termination_5Fcriteria_5Fchain_map">
<area href="classmets_1_1forever.html" alt="mets::forever" shape="rect" coords="0,56,217,80"/>
<area href="classmets_1_1iteration__termination__criteria.html" title="Termination criteria based on the number of iterations." alt="mets::iteration_termination_criteria" shape="rect" coords="227,56,444,80"/>
<area href="classmets_1_1noimprove__termination__criteria.html" title="Termination criteria based on the number of iterations without an improvement." alt="mets::noimprove_termination_criteria" shape="rect" coords="454,56,671,80"/>
<area href="classmets_1_1threshold__termination__criteria.html" title="Termination criteria based on cost value" alt="mets::threshold_termination_criteria" shape="rect" coords="681,56,898,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab8072803ee53f230d9f557e10f9640ea"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmets_1_1termination__criteria__chain.html#ab8072803ee53f230d9f557e10f9640ea">termination_criteria_chain</a> (<a class="el" href="classmets_1_1termination__criteria__chain.html">termination_criteria_chain</a> *next=0)</td></tr>
<tr class="memdesc:ab8072803ee53f230d9f557e10f9640ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="classmets_1_1termination__criteria__chain.html#ab8072803ee53f230d9f557e10f9640ea">更多...</a><br /></td></tr>
<tr class="separator:ab8072803ee53f230d9f557e10f9640ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dd6cdfaace32e64df1944f27cd18da6"><td class="memItemLeft" align="right" valign="top"><a id="a0dd6cdfaace32e64df1944f27cd18da6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmets_1_1termination__criteria__chain.html#a0dd6cdfaace32e64df1944f27cd18da6">termination_criteria_chain</a> (const <a class="el" href="classmets_1_1termination__criteria__chain.html">termination_criteria_chain</a> &amp;)</td></tr>
<tr class="memdesc:a0dd6cdfaace32e64df1944f27cd18da6"><td class="mdescLeft">&#160;</td><td class="mdescRight">purposely not implemented (see Effective C++) <br /></td></tr>
<tr class="separator:a0dd6cdfaace32e64df1944f27cd18da6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eb6c6c7d0be43914a0686c5f9740dd4"><td class="memItemLeft" align="right" valign="top"><a id="a6eb6c6c7d0be43914a0686c5f9740dd4"></a>
<a class="el" href="classmets_1_1termination__criteria__chain.html">termination_criteria_chain</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classmets_1_1termination__criteria__chain.html">termination_criteria_chain</a> &amp;)</td></tr>
<tr class="separator:a6eb6c6c7d0be43914a0686c5f9740dd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dfb2f9bc6e3ce2e66bed297f86880cb"><td class="memItemLeft" align="right" valign="top"><a id="a0dfb2f9bc6e3ce2e66bed297f86880cb"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmets_1_1termination__criteria__chain.html#a0dfb2f9bc6e3ce2e66bed297f86880cb">~termination_criteria_chain</a> ()</td></tr>
<tr class="memdesc:a0dfb2f9bc6e3ce2e66bed297f86880cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. <br /></td></tr>
<tr class="separator:a0dfb2f9bc6e3ce2e66bed297f86880cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9eb6f84a9ce3afff792ca1189ce3410"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmets_1_1termination__criteria__chain.html#ab9eb6f84a9ce3afff792ca1189ce3410">operator()</a> (const <a class="el" href="classmets_1_1feasible__solution.html">feasible_solution</a> &amp;fs)</td></tr>
<tr class="memdesc:ab9eb6f84a9ce3afff792ca1189ce3410"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alternate function that decides if we shoud terminate the search process  <a href="classmets_1_1termination__criteria__chain.html#ab9eb6f84a9ce3afff792ca1189ce3410">更多...</a><br /></td></tr>
<tr class="separator:ab9eb6f84a9ce3afff792ca1189ce3410"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7260e2e682a458d1bd9e2fb4ea6626e8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmets_1_1termination__criteria__chain.html#a7260e2e682a458d1bd9e2fb4ea6626e8">reset</a> ()</td></tr>
<tr class="memdesc:a7260e2e682a458d1bd9e2fb4ea6626e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the criterion to its initial state.  <a href="classmets_1_1termination__criteria__chain.html#a7260e2e682a458d1bd9e2fb4ea6626e8">更多...</a><br /></td></tr>
<tr class="separator:a7260e2e682a458d1bd9e2fb4ea6626e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:aaccffc670c01236af30df2c2e05f5e3b"><td class="memItemLeft" align="right" valign="top"><a id="aaccffc670c01236af30df2c2e05f5e3b"></a>
<a class="el" href="classmets_1_1termination__criteria__chain.html">termination_criteria_chain</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>next_m</b></td></tr>
<tr class="separator:aaccffc670c01236af30df2c2e05f5e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Function object expressing a termination criteria </p>
<p>The search loop ends when the termination criteria is met. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ab8072803ee53f230d9f557e10f9640ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8072803ee53f230d9f557e10f9640ea">&#9670;&nbsp;</a></span>termination_criteria_chain()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mets::termination_criteria_chain::termination_criteria_chain </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmets_1_1termination__criteria__chain.html">termination_criteria_chain</a> *&#160;</td>
          <td class="paramname"><em>next</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">next</td><td>Optional next criterium in the chain. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;      : next_m(next) </div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    { }</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ab9eb6f84a9ce3afff792ca1189ce3410"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9eb6f84a9ce3afff792ca1189ce3410">&#9670;&nbsp;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool mets::termination_criteria_chain::operator() </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmets_1_1feasible__solution.html">feasible_solution</a> &amp;&#160;</td>
          <td class="paramname"><em>fs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Alternate function that decides if we shoud terminate the search process </p>
<p>(chain of responsibility)</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fs</td><td>The current working solution. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>True if we shoud terminate </dd></dl>

<p>被 <a class="el" href="classmets_1_1threshold__termination__criteria.html#a5e079a8968d28a7d0215716cdb8af6fc">mets::threshold_termination_criteria</a>, <a class="el" href="classmets_1_1noimprove__termination__criteria.html#a74ad983da758877b5b53abd38d5a0e93">mets::noimprove_termination_criteria</a>, <a class="el" href="classmets_1_1iteration__termination__criteria.html#a8117b69778d8a5078566f8da9eb70fdf">mets::iteration_termination_criteria</a> , 以及 <a class="el" href="classmets_1_1forever.html#a589f7ff7a6cfe07047123c991c785200">mets::forever</a> 重载.</p>
<div class="fragment"><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;{</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;  <span class="keywordflow">if</span>(next_m)</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    <span class="keywordflow">return</span> next_m-&gt;operator()(fs);</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;  <span class="keywordflow">else</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a7260e2e682a458d1bd9e2fb4ea6626e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7260e2e682a458d1bd9e2fb4ea6626e8">&#9670;&nbsp;</a></span>reset()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void mets::termination_criteria_chain::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset the criterion to its initial state. </p>
<p>(chain of responsibility) </p>

<p>被 <a class="el" href="classmets_1_1forever.html#abd905b8e98c9d4474855bfa3a6ad09af">mets::forever</a>, <a class="el" href="classmets_1_1threshold__termination__criteria.html#a5516a6a9c634a7ee18578a794ff9b784">mets::threshold_termination_criteria</a>, <a class="el" href="classmets_1_1noimprove__termination__criteria.html#ae2290dc84c96cbbef4b54919b989b4c9">mets::noimprove_termination_criteria</a> , 以及 <a class="el" href="classmets_1_1iteration__termination__criteria.html#a5527220ab4b7c669f0c1cdec1f8dc0b4">mets::iteration_termination_criteria</a> 重载.</p>
<div class="fragment"><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;{</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;  <span class="keywordflow">if</span>(next_m) next_m-&gt;<a class="code" href="classmets_1_1termination__criteria__chain.html#a7260e2e682a458d1bd9e2fb4ea6626e8">reset</a>();</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;}</div>
<div class="ttc" id="aclassmets_1_1termination__criteria__chain_html_a7260e2e682a458d1bd9e2fb4ea6626e8"><div class="ttname"><a href="classmets_1_1termination__criteria__chain.html#a7260e2e682a458d1bd9e2fb4ea6626e8">mets::termination_criteria_chain::reset</a></div><div class="ttdeci">virtual void reset()</div><div class="ttdoc">Reset the criterion to its initial state.</div><div class="ttdef"><b>Definition:</b> termination-criteria.hh:257</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>recognition/include/pcl/recognition/3rdparty/metslib/<a class="el" href="termination-criteria_8hh_source.html">termination-criteria.hh</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>mets</b></li><li class="navelem"><a class="el" href="classmets_1_1termination__criteria__chain.html">termination_criteria_chain</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
